from baidusearch.baidusearch import search
 
# 搜索关键字 "Full Stack Developer"
results = search('Full Stack Developer')
 
# 打印搜索结果
for result in results:
    print(f"Title: {result['title']}")
    print(f"Abstract: {result['abstract']}")
    print(f"URL: {result['url']}")
    # print("-" * 40)
    print("-------------------------------------")